package com.sh.data.engine.domain.api.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sh.data.engine.domain.api.model.domain.DataApiSecurityManageDomain;

/**
 * @author : fuchen
 * @date : 2022/2/10 18:27
 */
public interface DataApiSecurityManageService {

    IPage<DataApiSecurityManageDomain> getApiSecurityManagePage(
        String apiName, Long projectId, Integer pageNum, Integer pageSize);

    IPage<DataApiSecurityManageDomain> getApiSecurityManagePage(
        Long projectId, Long apiId, String searchName, Integer pageNum, Integer pageSize);

    Boolean cancelApiSecurityManageById(Long projectId, String userId, Long apiId);
}
